<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>test.vim</title>
<meta name="Generator" content="Vim/7.4" />
<meta name="plugin-version" content="2html_test" />
<meta name="syntax" content="vim" />
<meta name="settings" content="no_progress,number_lines,dynamic_folds,no_pre,use_xhtml,use_css,diff_one_file,expand_tabs,line_ids,prevent_copy=" />
<meta name="colorscheme" content="none" />
<style type="text/css">

body { color: #ffffff; background-color: #000000; font-family: monospace; }
* { font-size: 1em; }
.Statement { color: #ffff60; font-weight: bold; }
.PreProc { color: #ff80ff; }
.Type { color: #60ff60; font-weight: bold; }
.Folded { color: #00ffff; background-color: #808080; padding-bottom: 1px; }
.FoldColumn { color: #00ffff; background-color: #c0c0c0; padding-bottom: 1px; }
.Conceal { color: #e0e0e0; background-color: #808080; padding-bottom: 1px; }
.LineNr { color: #ffff00; }
.Comment { color: #80a0ff; }
.Constant { color: #ffa0a0; }
.Special { color: #ffa500; }
.DiffAdd { background-color: #000080; padding-bottom: 1px; }
.DiffChange { background-color: #800080; padding-bottom: 1px; }
.DiffDelete { color: #0000ff; background-color: #008080; padding-bottom: 1px; font-weight: bold; }
.DiffText { background-color: #ff0000; padding-bottom: 1px; font-weight: bold; }
.FoldColumn { text-decoration: none; white-space: pre; }
.open-fold   .Folded      { display: none; }
.open-fold   .fulltext      { display: inline; }
.open-fold   .toggle-open   { display: none; }
.closed-fold .toggle-closed { display: inline; }

.closed-fold .fulltext      { display: none; }
.closed-fold .Folded      { display: inline; }
.closed-fold .toggle-open   { display: inline; }
.closed-fold .toggle-closed { display: none; }

</style>

<script type='text/javascript'>
//<![CDATA[

function toggleFold(objID)
{
  var fold;
  fold = document.getElementById(objID);
  if(fold.className == 'closed-fold')
  {
    fold.className = 'open-fold';
  }
  else if (fold.className == 'open-fold')
  {
    fold.className = 'closed-fold';
  }
}

/* function to open any folds containing a jumped-to line before jumping to it */
function JumpToLine()
{
  var lineNum;
  lineNum = window.location.hash;
  lineNum = lineNum.substr(1); /* strip off '#' */

  if (lineNum.indexOf('L') == -1) {
    lineNum = 'L'+lineNum;
  }
  lineElem = document.getElementById(lineNum);

  /* navigate upwards in the DOM tree to open all folds containing the line */
  var node = lineElem;
  while (node && node.id != 'vimCodeElement')
  {
    if (node.className == 'closed-fold')
    {
      node.className = 'open-fold';
    }
    node = node.parentNode;
  }
  /* Always jump to new location even if the line was hidden inside a fold, or
   * we corrected the raw number to a line ID.
   */
  if (lineElem) {
    lineElem.scrollIntoView(true);
  }
  return true;
}
if ('onhashchange' in window) {
  window.onhashchange = JumpToLine;
}

//]]>
</script>
</head>
<body onload='JumpToLine();'>
<div id='vimCodeElement'>
<span class="FoldColumn">&#160;&#160;</span><span id="L1" class="LineNr">&#160;1&#160;</span><span class="Comment">&quot; source this file to view a test of the conceal feature</span><br />
<span class="FoldColumn">&#160;&#160;</span><span id="L2" class="LineNr">&#160;2&#160;</span><span class="Comment DiffChange">&quot;&#160;</span><span class="Comment DiffText">change</span><span class="Comment DiffChange">&#160;the conceallevel by pressing &gt; or &lt; to see it change</span><br />
<span class="FoldColumn">&#160;&#160;</span><span id="L3" class="LineNr">&#160;3&#160;</span><br />
<span class="FoldColumn">&#160;&#160;</span><span id="L4" class="LineNr">&#160;4&#160;</span><br />
<span class="FoldColumn">&#160;&#160;</span><span id="L5" class="LineNr">&#160;5&#160;</span><span class="Comment">&quot;{{{{{{ start 2 folds</span><br />
<span class="FoldColumn">&#160;&#160;</span><span id="L6" class="LineNr">&#160;6&#160;</span><span class="Statement">syntax</span>&#160;<span class="Type">match</span>&#160;<span class="Type">concealmatch</span>&#160;<span class="Constant">/conceal matched text conceal/</span>&#160;<span class="Special">conceal</span>&#160;<span class="Special">containedin=</span>all<br />
<span class="FoldColumn">&#160;&#160;</span><span id="L7" class="LineNr">&#160;7&#160;</span>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<span class="Statement">syntax</span>&#160;<span class="Type">match</span>&#160;<span class="Type">concealconsec</span>&#160;<span class="Constant">/consecutive match/</span>&#160;<span class="Special">conceal</span>&#160;<span class="Special">containedin=</span>all<br />
<span class="FoldColumn">&#160;&#160;</span><span id="L8" class="LineNr">&#160;8&#160;</span>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<span class="Statement">syntax</span>&#160;<span class="Type">region</span>&#160;<span class="Type">concealregion</span>&#160;<span class="Type">start</span>=<span class="Constant">/conceal--&gt;/</span>&#160;<span class="Type">end</span>=<span class="Constant">/&lt;--conceal/</span>&#160;<span class="Special">conceal</span>&#160;cchar=»&#160;<span class="Special">containedin=</span>all<br />
<span id='fold1' class='closed-fold'><a href='#' class='toggle-open FoldColumn' onclick='javascript:toggleFold("fold1");'>+</a><a href='#' class='toggle-open FoldColumn' onclick='javascript:toggleFold("fold1");'> </a><a href='#' class='toggle-closed FoldColumn' onclick='javascript:toggleFold("fold1");'>- </a><span class="Folded">&#160;9&#160;</span><span class="Folded">+--&#160;&#160;4 lines: syntax region concealends matchgroup=concealedend start=/concealed end\ze&lt;--/ end=/--&gt;\zsconcealed end/ concealends containedin=all<br />
</span><span class='fulltext'><span id="L9" class="LineNr">&#160;9&#160;</span><span class="Statement">syntax</span>&#160;<span class="Type">region</span>&#160;<span class="Type">concealends</span>&#160;<span class="Special">matchgroup=</span><span class="Type">conceal</span>edend&#160;<span class="Type">start</span>=<span class="Constant">/concealed end\ze&lt;--/</span>&#160;<span class="Type">end</span>=<span class="Constant">/--&gt;\zsconcealed end/</span>&#160;<span class="Special">concealends</span>&#160;<span class="Special">containedin=</span>all<br />
<a href='#' class='FoldColumn' onclick='javascript:toggleFold("fold1");'>| </a><span id="L10" class="LineNr">10&#160;</span><span class="Comment">&quot;}}} end fold 1</span><br />
<a href='#' class='FoldColumn' onclick='javascript:toggleFold("fold1");'>| </a><span id="L11" class="LineNr">11&#160;</span><br />
<a href='#' class='FoldColumn' onclick='javascript:toggleFold("fold1");'>| </a><span id="L12" class="LineNr">12&#160;</span><span class="Statement">set</span>&#160;<span class="PreProc">conceallevel</span>=1<br />
</span></span><span class="FoldColumn">&#160;&#160;</span><span id="L13" class="LineNr">13&#160;</span><span class="Statement">nmap</span>&#160;&gt;&#160;:set conceallevel+=1<span class="Special">&lt;</span><span class="Special">CR</span><span class="Special">&gt;</span><br />
<span class="FoldColumn">&#160;&#160;</span><span id="L14" class="LineNr">14&#160;</span><span class="Statement">nmap</span>&#160;&lt;&#160;:set conceallevel-=1<span class="Special">&lt;</span><span class="Special">CR</span><span class="Special">&gt;</span><br />
<span class="FoldColumn">&#160;&#160;</span><span id="L15" class="LineNr">15&#160;</span><br />
<span class="FoldColumn">&#160;&#160;</span><span id="L16" class="LineNr">16&#160;</span><span class="Statement">finish</span><br />
<span class="FoldColumn">&#160;&#160;</span><span id="L17" class="LineNr">17&#160;</span><span class="Comment">&quot;}}} end fold 2</span><br />
<span class="FoldColumn">&#160;&#160;</span><span id="L18" class="LineNr">18&#160;</span><br />
<span class="FoldColumn">&#160;&#160;</span><span class="LineNr">&#160;&#160;&#160;</span><span class="DiffDelete">------</span><br />
<span class="FoldColumn">&#160;&#160;</span><span class="LineNr">&#160;&#160;&#160;</span><span class="DiffDelete">------</span><br />
<span class="FoldColumn">&#160;&#160;</span><span class="LineNr">&#160;&#160;&#160;</span><span class="DiffDelete">------</span><br />
<span class="FoldColumn">&#160;&#160;</span><span id="L19" class="LineNr">19&#160;</span><br />
<span class="FoldColumn">&#160;&#160;</span><span id="L20" class="LineNr">20&#160;</span><span class="Statement">------------------------------------------------------</span><br />
<span class="FoldColumn">&#160;&#160;</span><span id="L21" class="LineNr">21&#160;</span><br />
<span class="FoldColumn">&#160;&#160;</span><span id="L22" class="LineNr">22&#160;</span><span class="DiffChange">test</span><span class="DiffChange">&#160;</span><span class="DiffChange">conceal</span><span class="DiffChange">&#160;</span><span class="DiffText">by</span><span class="DiffText">&#160;</span><span class="DiffText">matching</span><span class="DiffChange">:</span><span class="DiffChange">&#160;</span><br />
<span class="FoldColumn">&#160;&#160;</span><span id="L23" class="LineNr">23&#160;</span>test&#160;two&#160;matches&#160;in_a&#160;row:&#160;consecutive&#160;_match<br />
<span class="FoldColumn">&#160;&#160;</span><span id="L24" class="LineNr">24&#160;</span>test&#160;conceal&#160;by&#160;region:&#160;<span class="Conceal">»</span><br />
<span class="FoldColumn">&#160;&#160;</span><span id="L25" class="LineNr">25&#160;</span><span class="Conceal">»</span><br />
<span class="FoldColumn">&#160;&#160;</span><span id="L26" class="LineNr">26&#160;</span><span class="Conceal">»</span><br />
<span class="FoldColumn">&#160;&#160;</span><span id="L27" class="LineNr">27&#160;</span>test&#160;concealends:&#160;&lt;-- some text that is_not concealed --&gt;<br />
<span class="FoldColumn">&#160;&#160;</span><span id="L28" class="LineNr">28&#160;</span><br />
<span class="FoldColumn">&#160;&#160;</span><span id="L29" class="LineNr">29&#160;</span>&#160;<span class="Statement">vim</span>:&#160;fdm<span class="Statement">=</span>marker<br />
</div>
</body>
</html>
<!-- vim: set foldmethod=manual : -->
